package com.jbookstore.service.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.jbookstore.dao.BookDao;
import com.jbookstore.dto.BookDto;
import com.jbookstore.service.BookService;

public class BookServiceImpl implements BookService{
	@Autowired private BookDao bookDao;
	
	public List<BookDto> getBookList(String categoryId) {
		return bookDao.selectBookList(categoryId);
	}

	public BookDto getBookDetail(String bookId) {
		return bookDao.selectBookDetail(bookId);
	}
	
	public List<BookDto> getBookListByIds(String bookIds) {
		return bookDao.selectBookListByIds(bookIds);
	}
}
